package com.hdax.dm.service;

import com.hdax.dm.entity.item.DmItem;
import com.hdax.dm.feign.item.DmItemFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DmOrderService {

    @Autowired
    private DmItemFeign dmItemFeign;

    public DmItem isExists(Long itemId){
        return dmItemFeign.getItems(itemId);
    }
}
